<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>我的余额</title>
    <link rel="stylesheet" href="css/base.css" />
    <link rel="stylesheet" href="css/iconfont.css" />
    <link rel="stylesheet" href="css/my-balance.css" />
    <link rel="stylesheet" href="css/all.css" />
</head>
<body>
<div>
    <div class="head">
         <span href="javascript:;" onclick="go()">
        <i class="iconfont icon-iconfontjiantou1"></i></span>
        <h1 class="titles">我的余额</h1>
        <a href="detail.html"><p>明细</p></a>
    </div>
    <div class="middle">
       <div class="money">
           <p>我的余额</p>
           <p id="balanceMoney">￥300.00</p>
       </div>
        <div onclick="location.href='./recharge.html'">
        <div class="recharge">
        <p>充值</p>
        </div>
        </div>
        <div onclick="location.href='./withdraw.html'">
        <div class="withdraw">
            <p>提现</p>
        </div>
        </div>
    </div>
</div>
<script src="js/jquery.js"></script>
<script src="js/x_rem.js"></script>
<script src="js/all.js"></script>
<script type="text/javascript">
	(function(){
		var data={
			
		};
		
		var success=(data)=>{
			$("#balanceMoney").text("￥"+data.message.balance);
		};
		
		Hajax("post","/wallet/getWallet",data,success);
		
	})();
	
	
</script>
</body>
</html>